package TWO;
class Rectangle extends AbstractP{
	private double c;
	private double k;
	public Rectangle(double c,double k){
		this.c=c;
		this.k=k;
	}
	public double getL(){
		return(2*(c+k));
	}
	public double getA(){
		return(c*k);
	}
}